package com.aimei.security.controller;

import com.aimei.security.util.UserUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiah
 * @date 2018/5/7 7:46
 */
@RestController
public class TestController {
       @RequestMapping("/sec/test")
       public String test() {
              return UserUtil.getUserName();
       }
}
